//
//  YbrSetUpWifiBoxUtil.m
//  wifibox
//
//  Created by os X 10.9 on 15-1-11.
//  Copyright (c) 2015年 yinbaner. All rights reserved.
//

//Body =     {
//    DeviceFiremwareVersion = "V4.0.0.1-1612291359-YBER-T026";
//    DeviceName = "EBER_9999";
//};
//ErrMsg = "OK!!";
//Result = 0;

#import "YbrSetUpWifiBoxUtil.h"

@implementation YbrSetUpWifiBoxUtil
+(BOOL) isOK:(id) Json {
    if(Json != nil) {
        int IsOK = NO;
        @try {
            IsOK = [Json[@"Result"] intValue] == 0 ? YES : NO;
        }
        @catch (NSException *exception) {
            NSLog(@"出错了   %@" ,exception);
        }
        return IsOK;
    }
}
@end
